/*
 * DefaultProjectCalendar.java
 *
 * Created on February 6, 2008, 2:20 PM
 *
 */

package projectprophet.core;

import java.util.Calendar;

/**
 *
 * @author Gyula Szentirmay
 */
public class DefaultProjectCalendar extends ProjectCalendar
{
	
	public DefaultProjectCalendar()
	{
		super(null);
	}
	
	public boolean isWorkDay(Calendar date)
	{
		final int dayOfWeek = date.get(Calendar.DAY_OF_WEEK);
		return dayOfWeek != Calendar.SUNDAY && dayOfWeek != Calendar.SATURDAY;
	}
}



final class CustomCalendar
{
}
